package com.king.run.activity.mine;

import android.os.Bundle;
import android.view.View;

import com.king.run.R;
import com.king.run.activity.other.CompleteHeightActivity;
import com.king.run.activity.other.ForgetActivity;
import com.king.run.activity.other.HomeActivity;
import com.king.run.base.BaseFragment;

import org.xutils.view.annotation.ContentView;
import org.xutils.view.annotation.Event;

/**
 * 作者：shuizi_wade on 2017/8/18 16:27
 * 邮箱：674618016@qq.com
 */
@ContentView(R.layout.fragment_mine)
public class MineFragment extends BaseFragment {
    @Override
    public void onViewCreated(View view, Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);
    }

    @Event(value = {R.id.tv_click_edit, R.id.ly_attention, R.id.ly_fans, R.id.ly_collect})
    private void getEvent(View view) {
        switch (view.getId()) {
            case R.id.tv_click_edit:
                jumpActvity(EditInfoActivity.class);
                break;
            case R.id.ly_attention:
                jumpActvity(AttentionActivity.class);
                break;
            case R.id.ly_fans:
                jumpActvity(FansActivity.class);
                break;
            case R.id.ly_collect:
                jumpActvity(CollectActivity.class);
                break;
        }
    }
}
